﻿using FlyingEye.Application.Exceptions;
using System.Collections.ObjectModel;

namespace FlyingEye.Exceptions
{
    public class DeviceConnectAggregateException : AggregateException
    {
        public DeviceConnectAggregateException(ReadOnlyCollection<DeviceConnectException> exceptions) : base(exceptions)
        {
            InnerDeviceConnectExceptions = exceptions;
        }

        public ReadOnlyCollection<DeviceConnectException> InnerDeviceConnectExceptions { get; }
    }
}
